package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppUserLaHeiDao;
import com.vf.admin.client.service.AppUserLaHeiService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppUserLaHei;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author anxiang
 * @version 1.0.0
 * @ClassName AppUserLaHeiServiceImpl.java
 * @Description TODO
 * @createTime 2021年07月29日 10:06:00
 */
@Service
public class AppUserLaHeiServiceImpl implements AppUserLaHeiService {

    @Autowired
    AppUserLaHeiDao appUserLaHeiDao;

    @Override
    public void saveOrUpdate(AppUserLaHei appUserLaHei) {
        appUserLaHeiDao.saveOrUpdate(appUserLaHei);
    }

    @Override
    public List<AppUserLaHei> findList(Map<String, Object> paramap, SplitPageBean splitPageBean) {
        return appUserLaHeiDao.findList(paramap, splitPageBean);
    }

    @Override
    public AppUserLaHei getByUseridAndLhUserid(Integer userid, Integer lhuserid) {
        return appUserLaHeiDao.getByUseridAndLhUserid(userid, lhuserid);
    }

    @Override
    public void delete(Integer id) {
        appUserLaHeiDao.delete(id);
    }
}